﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Mads.CoreDomain;

namespace Mads.WcfService
{
  class ClientAdministrator : ClientCashier
  {
    public ClientAdministrator(TrainBaseConnector trainBaseConnector, User user)
      : base(trainBaseConnector, user)
    {
    }
    public bool AddRoute(Route route)
    {
      return false;
    }

    public bool DeleteRoute(Route route)
    {
      return trainBaseConnector.DeleteRoute(route);
    }

    public bool ChangeRoute(Route previousRout, Route newRout)
    {
      return trainBaseConnector.ChangeRoute(previousRout, newRout);
    }

    public bool ChangeStationState(string name, bool state)
    {
      return trainBaseConnector.ChangeStationState(name, state);
    }
  }
}
